/*
 *  fresnel.h
 *  AutoEllips
 *
 *  Created by Simon Martin on 09/11/2009.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */


#ifndef _FRESNEL_
#include "ellipsincludes.h"
double degreesToRadians (double degrees);
double complex snell(double complex n1, double complex n2, double  angle);
double complex cos_snell(double complex n1, double complex n2, double complex angle);
double complex rp(double complex n1, double complex n2, double  complex cangle1, double  complex cangle2);

double complex rs(double complex n1, double complex n2, double complex cangle1, double complex cangle2);
#define _FRESNEL_
#endif


